

		//更新备忘录面板
		 memorandumPanel=new Ext.form.FormPanel({
		 		labelAlign:'right',
		 		buttonAlign:'center',
		 		closeAction:true,
		 		labelWidth:100,
		 		frame:true,
		 		bodyStyle:'padding:5px 5px 0',
		 		waitMsgTraget:true,
		 		defaults:{
		 			width:250
		 		},
		 		defaultType:'textfield',
		 		items:[
		 	{
		 		xtype:'hidden',
	            name :'memoId',
	            id :'memoId',
	            value:1
		    },
		    {
	            fieldLabel : '星期一',
	            name :'Monday',
	            id :'Monday',
	            allowBlank :false
		    },
		    {
	            fieldLabel : '星期二',
	            name :'Tuesday',
	            id :'Tuesday',
	            allowBlank :false
	        },
	        {
	            fieldLabel : '星期三',
	            name :'Wednesday',
	            id :'Wednesday',
	            allowBlank :false
	        },
	        {
	            fieldLabel :'星期四',
				id :'Thursday',
				name :'Thursday',
				allowBlank :false
	        },
	        {
	            fieldLabel :'星期五',
				id :'Friday',
				name :'Friday',
				allowBlank :false
	        },
	        {
	            fieldLabel :'星期六',
				id :'Saturday',
				name :'Saturday',
				allowBlank :false
	        },
	         {
	            fieldLabel :'星期日',
				id :'Sunday',
				name :'Sunday',
				allowBlank :false
	        }
		 		],

		 buttons : [ {
            text : '更新',
            disabled : false,
            handler : function() {
                if (memorandumPanel.form.isValid()) {
                    memorandumPanel.form.submit( {
                        url : 'updateMemorandum.jsj',
                        success : function(from, action) {
                        Ext.MessageBox.alert('更新结果', action.result.message);
                        },
                        failure : function(form, action) {
                           Ext.MessageBox.alert('更新结果', action.result.message);
                        },
                        waitMsg : '正在保存数据，稍后...'
                    });
                } else {
                    Ext.Msg.alert('信息', '请填写完成再提交!');
                }
            }
        }]
		 })